ofiles := $(patsubst %.cpp,%.o,$(wildcard *.cpp))


all: $(ofiles)
	g++ -shared -I ~/Downloads/boost_1_50_0 -lsfml-graphics -lsfml-window -lsfml-system -o se_base.so $(ofiles) 


%.o : %.cpp
	g++ -fpic -I ~/Downloads/boost_1_50_0 -c $<

clean:
	-rm -f *.o .so
